package com.dongdongshop.domain.res;


import com.dongdongshop.domain.rep.SpecificationOptionReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
* 规格表
* @TableName tb_specification
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SpecificationRes implements Serializable {

    /**
    * 主键
    */
    @ApiModelProperty("主键")
    private Long id;

    /**
    * 名称
    */
    @ApiModelProperty("名称")
    private String specName;

    private String text;

    @ApiModelProperty("SpecificationOption的属性")
    private List<SpecificationOptionRes> specOption=new ArrayList<>();
}
